#include "digdug.h"

Digdug::Digdug(int x_location, int y_location, int direction, int speed, int lives)
{
		x_loc = x_location; 
		y_loc = y_location; 
		x_boundary = 2;
		_y_boundary = 2;
		_direction = (Direction)direction;
		_speed = speed; 
		_lives = lives;
		_type = DIGDUG;
		_bitmap = Bitmaps::get_default_bitmap(DIGDUG);
		
		vector <Movable_type> __rule_digdug_cant_move(HOLE, SAND);
		vector <Movable_type> _rule_line_death_digdug(MONSTER);
		vector <Movable_type> _rule_line_death_me (MONSTER);

		_rule_set.push_back(_rule_line_through);
		_rule_set.push_back(_rule_line_death_digdug);
		_rule_set.push_back(_rule_line_death_me);

}

Digdug::Digdug()
{
}
